<!DOCTYPE html>
<html lang="en">
<head>
[#include "/customer/include/static.htm"]
    <link href="${path}/resources/css/member.css" rel="stylesheet" type="text/css"/>
    <link href="${path}/resources/css/public.css" rel="stylesheet" type="text/css"/>
    <link href="${path}/resources/css/member/main.css" rel="stylesheet" type="text/css"/>
    <link href="${path}/resources/css/member/pay.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!--头部-->
[#include "/customer/include/header.ftl"]
[#include "/customer/include/member_menu.ftl"]
<div class="pay-bg">
    <div class="pay-wrap">
        <div class="pay-tit">选择客服</div>
        <div class="pay-tab" id="pay-tab">
            <hr id="payWay"/>
        </div>
        <div class="pay-tab-cont yuebao">
            <div class="user-glb-rightbox-e">
                <div class="main_recharge">
                    <p class="recharge_prompt"></p>
                    <!--支付信息-->

                    <input style="display:none">
                    <div class="recharge_detailed" id="test">
                        <div class="recharge_delalist">
                            <label>选择客服：</label>
                            <label>
                                <select name="vip" id="vip" style="margin-top:15px"  [#if iskefu==1]disabled[/#if]>
								[#list kefus as kefu]
                                    <option value=${kefu.id} [#if kefu_id==kefu.id]selected="selected"[/#if]>${kefu.name}</option>
								[/#list]
                                </select>
                            </label>
                        </div>

                        <div class="recharge_delalist" [#if iskefu==1]style="display:none"[/#if]>
                            <button class="recharge_confirm_submit" onclick="gocheck()" >确认选择</button>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<script>
//检查输入提交注册
function gocheck(){
	ajax( {
		type : "post",
		url : "${path}/member/kefusubmit",
		dataType:"text",
		data : {
			"kefu_id" :   $("#vip").find("option:selected").val()
		
		},
		success : function(result) {
            oDialog.prompt(result, 1500,1500,function() {
                window.location.href="${path}/member/";
            });

		}
	});
	
}
</script>
[#include "/customer/include/footer.ftl"]
</body>
</html>